#ifndef MRIOWIDGET_H
#define MRIOWIDGET_H


#include <QWidget>
#include"ui_MRIOWidget.h"
#include <client/dbclient.h>
using namespace mongo;
class BsonExplorerModel;
class MRIOWidget : public QWidget,public Ui::MRIOWidgetBase
{
    Q_OBJECT
public:
    explicit MRIOWidget(QWidget *parent = 0);

signals:
    void mapReduceAction();
public slots:
    void runMapReduce();
public:
    void setMapReduceResult(BSONObj& result);
protected:
    BsonExplorerModel* bsonExplorerModel;

};

#endif // MRIOWIDGET_H
